#pragma once
#include "stdafx.h"

#include "IrcConnection.h"
#include "RecentChange.h"

class CCollaborationChannel : public CIrcConnection
{
	Q_OBJECT;
protected:
	virtual QHostAddress GetHost() const;
	virtual unsigned short GetPort() const;
	virtual void ProcessIncomingCommand(QString command);
	virtual QString GetChannel() const;
	virtual QString GetUser() const;
private:
	QString m_user;

	

public slots:
	void ReviewEdit(int diff, bool vandalism);
	void SkipReview(int diff);
	void AcceptChange(CRecentChange* change);
	void MarkBad(unsigned int diff);
	void MarkGood(unsigned int diff);
	
signals:
	void FlagEdit(unsigned int diff, float probability, QString bot, QString remark);
	
public:
	CCollaborationChannel(QString user);
	virtual ~CCollaborationChannel(void);
};


